package bootstrap

import (
	"gitee.com/goblog2/routes"
	"github.com/gorilla/mux"
)

func InitRouter() *mux.Router {
	router := mux.NewRouter().StrictSlash(true)
	routes.RegisterRoutes(router)
	return router
}
